.page-container {
  padding: 24px;
  background-color: #f5f7fa;
  min-height: 100vh;
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.page-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8e8e8;
}

.operation-card {
  margin-bottom: 24px;
  padding: 16px 24px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.operation-buttons {
  flex-wrap: wrap;
}

.add-button {
  background-color: #1890ff !important;
  border-color: #1890ff !important;
  transition: all 0.3s !important;
}

.add-button:hover {
  background-color: #40a9ff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.35) !important;
}

.refresh-btn {
  color: #1890ff !important;
  border-color: #1890ff !important;
  background-color: transparent !important;
  transition: all 0.3s !important;
}

.refresh-btn:hover {
  background-color: #e6f7ff !important;
}

.refreshing {
  animation: rotate 1s linear infinite !important;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.filter-btn {
  color: #faad14 !important;
  border-color: #faad14 !important;
  background-color: transparent !important;
}

.filter-btn:hover {
  background-color: #fffbe6 !important;
}

.search-container {
  flex-wrap: wrap;
}

.search-input {
  width: 300px !important;
}

.search-button {
  background-color: #faad14 !important;
  border-color: #faad14 !important;
  transition: all 0.3s !important;
}

.search-button:hover {
  background-color: #ffc53d !important;
  box-shadow: 0 2px 8px rgba(250, 173, 20, 0.3) !important;
}

.selection-info {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.clear-selection {
  padding: 0 !important;
  height: auto !important;
}

.select-all-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 0 8px;
}

.total-count {
  color: #666;
  font-size: 14px;
}

.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.data-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
}

.data-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1890ff, #40a9ff);
  opacity: 0;
  transition: opacity 0.3s;
}

.data-card.hovered {
  transform: translateY(-6px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.data-card.hovered::before {
  opacity: 1;
}

.card-header {
  display: flex;
  align-items: flex-start;
  padding: 16px 20px;
  gap: 12px;
}

.card-checkbox {
  margin-top: 3px !important;
  transform: scale(0.9);
}

.card-header-info {
  flex: 1;
}

.file-number {
  font-weight: 500;
  color: #1890ff;
  margin-bottom: 4px;
}

.评估日期 {
  font-size: 14px;
  color: #666;
}

.card-divider {
  height: 1px;
  background-color: #f0f0f0;
  margin: 0 20px;
}

.card-body {
  padding: 16px 20px;
}

.user-info {
  margin-bottom: 16px;
}

.user-name {
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.gender-tag {
  margin-top: 2px;
}

.assessment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.assessment-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.item-label {
  color: #666;
  flex-shrink: 0;
}

.card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 20px;
}

.action-btn {
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s !important;
}

.action-btn:hover {
  transform: scale(1.1) !important;
}

.view-btn {
  color: #1890ff !important;
}

.edit-btn {
  color: #faad14 !important;
}

.delete-btn {
  color: #ff4d4f !important;
}

.empty-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 64px 24px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.empty-state {
  max-width: 360px;
  margin: 0 auto;
}

.empty-icon {
  font-size: 64px;
  margin-bottom: 24px;
  color: #e0e0e0;
}

.empty-title {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

.empty-desc {
  color: #666;
  margin-bottom: 24px;
}

.empty-add-btn {
  transition: all 0.3s !important;
}

.empty-add-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.35) !important;
}

.pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.custom-pagination .ant-pagination-item-active {
  border-color: #1890ff !important;
}

.custom-pagination .ant-pagination-item-active a {
  color: #1890ff !important;
  font-weight: 500 !important;
}

.add-modal .ant-modal-content {
  border-radius: 12px !important;
}

.modal-content {
  padding: 16px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .page-container {
    padding: 16px;
  }

  .search-input {
    width: 200px !important;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .operation-buttons {
    width: 100%;
    margin-bottom: 16px;
  }

  .search-container {
    width: 100%;
  }

  .assessment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}